package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.EmployeeEntity;
import io.renren.modules.generator.entity.EmployeeVO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-10-13 22:43:32
 */
public interface EmployeeService {
	
	EmployeeEntity queryObject(String employeeno);
	
	List<EmployeeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(EmployeeEntity employee);
	
	void update(EmployeeEntity employee);
	
	void delete(String employeeno);
	
	void deleteBatch(String[] employeenos);

	/**
	 * 查询出所有的页面参数
	 * @return
	 */
	EmployeeVO findAllinit();
}
